package com.yc.controller.hystrix;

import com.vo.Result;
import com.yc.controller.UserAction;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

@Component
public class UserActionImpl implements UserAction {
    @Override
    public Result toCaptchaCode() {
        return null;
    }

    @Override
    public Result tologin(@RequestParam("phone") String phone, @RequestParam("password") String password) {
        return null;
    }

    @Override
    public Result toregister(@RequestParam("password") String password,@RequestParam("phone") String phone) {
        return null;
    }
}
